package com.woniuxy.nio.channel.socketchannel;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.channels.SocketChannel;

/**
 * <P> @Author: ideaAdmin
 * <P> TODO: Class
 * <P> TODO: SocketChannel
 * <P> Date: 2022/4/3:11:30
 * <P> Description:
 */

public class SocketChannelDemo1 {
    public static void main(String[] args) throws IOException {

        SocketChannel socketChannel =
                SocketChannel.open(new InetSocketAddress("www.baidu.com", 80));
    }
}
